New "show-expanders" and "level-indentation" properties, which can be used
authorKristian Rietveld <kris@imendio.com>
Wed, 26 Apr 2006 12:39:12 +0000 (12:39 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Wed, 26 Apr 2006 12:39:12 +0000 (12:39 +0000)
2006-04-26  Kristian Rietveld  <kris@imendio.com>

New "show-expanders" and "level-indentation" properties, which can
be used for customizing the tree view.  (For example to do
grouping as demonstrated in the test application).
Discussion in #80869.

* gtk/gtktreeprivate.h: add level_indentation field.

* gtk/gtktreeview.c (gtk_tree_view_class_init),
(gtk_tree_view_init), (gtk_tree_view_set_property),
(gtk_tree_view_get_property): add the properties to the object,
(gtk_tree_view_button_press), (do_prelight),
(gtk_tree_view_bin_expose), (validate_row),
(gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area),
(gtk_tree_view_create_row_drag_icon): take the new properties
into account,
(gtk_tree_view_start_editing): fix cell placement code.

* tests/testgrouping.c: new test application, showing how to
implement grouping.

* tests/Makefile.am: updated.

ChangeLog
ChangeLog.pre-2-10

index fea09797e27f8cac4016aedea020be16983e35b6..3a685610c73957a1c347d11a516cfa81ea2f6d5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2006-04-26  Kristian Rietveld  <kris@imendio.com>
+
+       New "show-expanders" and "level-indentation" properties, which can
+       be used for customizing the tree view.  (For example to do
+       grouping as demonstrated in the test application).
+       Discussion in #80869.
+
+       * gtk/gtktreeprivate.h: add level_indentation field.
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init),
+       (gtk_tree_view_init), (gtk_tree_view_set_property),
+       (gtk_tree_view_get_property): add the properties to the object,
+       (gtk_tree_view_button_press), (do_prelight),
+       (gtk_tree_view_bin_expose), (validate_row),
+       (gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area),
+       (gtk_tree_view_create_row_drag_icon): take the new properties
+       into account,
+       (gtk_tree_view_start_editing): fix cell placement code.
+
+       * tests/testgrouping.c: new test application, showing how to
+       implement grouping.
+
+       * tests/Makefile.am: updated.
+
 2006-04-25  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk/gdk.symbols: Add gdk_screen_is_composited
index fea09797e27f8cac4016aedea020be16983e35b6..3a685610c73957a1c347d11a516cfa81ea2f6d5c 100644 (file)
@@ -1,3 +1,27 @@
+2006-04-26  Kristian Rietveld  <kris@imendio.com>
+
+       New "show-expanders" and "level-indentation" properties, which can
+       be used for customizing the tree view.  (For example to do
+       grouping as demonstrated in the test application).
+       Discussion in #80869.
+
+       * gtk/gtktreeprivate.h: add level_indentation field.
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init),
+       (gtk_tree_view_init), (gtk_tree_view_set_property),
+       (gtk_tree_view_get_property): add the properties to the object,
+       (gtk_tree_view_button_press), (do_prelight),
+       (gtk_tree_view_bin_expose), (validate_row),
+       (gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area),
+       (gtk_tree_view_create_row_drag_icon): take the new properties
+       into account,
+       (gtk_tree_view_start_editing): fix cell placement code.
+
+       * tests/testgrouping.c: new test application, showing how to
+       implement grouping.
+
+       * tests/Makefile.am: updated.
+
 2006-04-25  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk/gdk.symbols: Add gdk_screen_is_composited